from django.shortcuts import render
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework.request import Request
from django.core.files.uploadedfile import InMemoryUploadedFile

# Create your views here.
class LoginView(APIView):
    def post(self, request):
        print(request.data)
        return Response({'code':200,'message':'成功'})
